<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- 引入样式 -->
  <title>createTarget</title>
  <link rel="stylesheet" href="../css/index.css" />
  <link rel="stylesheet" href="../css/element-ui/lib/theme-chalk/index.css"/>
</head>
<body>
  <div id="app">
  	<div class="header">
		  <el-row>
			  <el-col :span="24">增加考核目标</el-col>
			</el-row>
		</div>
  	<div class="content">
  		<el-row :gutter="12" type="flex" justify="center" align="middle">
				<el-form label-width="80px" size="large">
					<el-form-item label="考核目标">
				    <el-input
						  type="textarea"
						  :autosize="{ minRows: 2, maxRows: 5}"
						  placeholder="了解yii2，能独立开发基本功能"
						  v-model="textarea1"
						  id="access_target">
						</el-input>
				  </el-form-item>
				  <el-form-item label="所占比例">
				  	<el-input type="text" id="percent"></el-input>
				  </el-form-item>
				  <el-form-item label="考核季度" prop="period">
				  	<el-select placeholder="请选择季度" v-model="period">
				      <el-option 
				      	v-for="item in periodOptions" 
				      	:label="item.label" 
				      	:value="item.value"
				      	id="period">
				      </el-option>
				    </el-select>
				  </el-form-item>
				  <!--<el-form-item label="审核状态" prop="verify">
				    <el-select placeholder="请选择状态" v-model="verify">
				      <el-option 
				      	v-for="item in verifyOptions" 
				      	:key="item.value" 
				      	:label="item.label" 
				      	:value="item.value">
				      </el-option>
				    </el-select>
				  </el-form-item>-->
				  <el-form-item>
				    <el-button type="info" @click="onSubmit">保存</el-button>
				  </el-form-item>
				</el-form>
			</el-row>
		</div>
  </div>
</body>
<!-- 先引入 Vue -->
<script type="text/javascript" src="../js/vue/dist/vue.min.js"></script>
<script type="text/javascript" src="../js/vue-resource/dist/vue-resource.min.js"></script>
<!-- 引入组件库 -->
<script src="../css/element-ui/lib/index.js"></script>
<script src="../js/createTarget.js"></script>
</html>